home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Aventura / dexter.swf / scripts / DefineButton2_75 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2003-10-24  |  360 b   |  23 lines

  1. on(press){
  2.    set("/:item","5");
  3.    tellTarget("/drag/item")
  4.    {
  5.       gotoAndPlay(1);
  6.    }
  7.    tellTarget("/menu")
  8.    {
  9.       gotoAndStop("head");
  10.    }
  11.    set("/:found","5");
  12.    tellTarget("/found")
  13.    {
  14.       gotoAndPlay(2);
  15.    }
  16.    set("/:mn","1");
  17.    if(eval("/:found") == "4")
  18.    {
  19.       set("/:last","0");
  20.    }
  21.    gotoAndStop(1);
  22. }
  23.